<?php /* Smarty version Smarty-3.1.11, created on 2012-10-08 12:11:36
         compiled from "_templates\profile\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:47165072a6d8e52cd6-45212326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eccf9cba96788fa88bd0b9982fdd27fbae06bf4e' => 
    array (
      0 => '_templates\\profile\\index.tpl',
      1 => 1349677401,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '47165072a6d8e52cd6-45212326',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'userID' => 0,
    'value' => 0,
    'item' => 0,
    'character' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5072a6d9302030_00612023',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5072a6d9302030_00612023')) {function content_5072a6d9302030_00612023($_smarty_tpl) {?><article class="module width_full">
    <header><h3><?php echo $_smarty_tpl->getConfigVariable('actions');?>
</h3></header>
    <table width="100%" cellpadding="3" cellspacing="1">
            <tbody>
                    <tr>
							<th align="center" class="header"><a href="index.php?mod=myprofile&userID=<?php echo $_smarty_tpl->tpl_vars['userID']->value;?>
"><?php echo $_smarty_tpl->getConfigVariable('edit');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=profile&userID=<?php echo $_smarty_tpl->tpl_vars['userID']->value;?>
"><?php echo $_smarty_tpl->getConfigVariable('profile');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=profile&page=mails&userID=<?php echo $_smarty_tpl->tpl_vars['userID']->value;?>
"><?php echo $_smarty_tpl->getConfigVariable('mails');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=profile&page=quests&userID=<?php echo $_smarty_tpl->tpl_vars['userID']->value;?>
"><?php echo $_smarty_tpl->getConfigVariable('quest');?>
</a></th>
                    </tr>
            </tbody>
    </table>
</article>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['value']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
<form method="post">
<article class="module width_full">
    <header><h3><?php echo $_smarty_tpl->getConfigVariable('show');?>
</h3></header>
    <div class="module_content">
        <fieldset>
            <label><?php echo $_smarty_tpl->getConfigVariable('username');?>
</label>
            <div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</div>
        </fieldset>
        <fieldset style="width:48%; float:left; margin-right: 3%;">
            <label><?php echo $_smarty_tpl->getConfigVariable('mail');?>
</label>
            <div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['email'];?>
</div>
        </fieldset>
        <fieldset style="width:48%; float:left;">
            <label><?php echo $_smarty_tpl->getConfigVariable('credits');?>
</label>
            <div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['credits'];?>
</div>
        </fieldset>
        <fieldset style="width:48%; float:left; margin-right: 3%;">
            <label><?php echo $_smarty_tpl->getConfigVariable('access_level');?>
</label>
			<div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['access'];?>
</div>
        </fieldset>
        <fieldset style="width:48%; float:left;">
            <div style="float:left; width:48%;">
            <label><?php echo $_smarty_tpl->getConfigVariable('activated');?>
</label><br /><br />
                <div style="clear:left; padding:10px;"><?php if ($_smarty_tpl->tpl_vars['item']->value['activated']==1){?> <?php echo $_smarty_tpl->getConfigVariable('isactivated');?>
 <?php }else{ ?> <?php echo $_smarty_tpl->getConfigVariable('notactivated');?>
 <?php }?></div>
            </div>
            <div style="float:left; width:48%;">
            <label><?php echo $_smarty_tpl->getConfigVariable('lastadress');?>
</label>
            <div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->tpl_vars['item']->value['last_ip'];?>
</div>
            </div>
        </fieldset><div class="clear"></div>
    </div>
</article>
</form>
<?php } ?>
<form method="post">
<article class="module width_full">
    <header><h3><?php echo $_smarty_tpl->getConfigVariable('characters');?>
</h3></header>
    <div class="module_content">
		<?php if (!empty($_smarty_tpl->tpl_vars['character']->value)){?>
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['character']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
        <fieldset>
            <label><?php echo $_smarty_tpl->tpl_vars['item']->value['race'];?>
 | <a href="index.php?mod=character&charID=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
</a></label>
            <div style="clear:left; padding:10px;"><?php echo $_smarty_tpl->getConfigVariable('level');?>
 <?php echo $_smarty_tpl->tpl_vars['item']->value['level'];?>
 | <?php echo $_smarty_tpl->getConfigVariable('class');?>
 <?php echo $_smarty_tpl->tpl_vars['item']->value['class'];?>
</div>
        </fieldset>
		<?php } ?>
		<?php }?>
        <div class="clear"></div>
    </div>
</article>
</form>
<div class="modal" id="edited">
        <h3><?php echo $_smarty_tpl->getConfigVariable('edited');?>
</h3>
		<p><?php echo $_smarty_tpl->getConfigVariable('success_edited');?>
</p>
</div><?php }} ?>